<style lang="scss" scoped>
.headle {
  display: flex;
  justify-content: space-around;
  color: #ef4238;
  font-weight: 700;
  box-sizing: border-box;
  height: 44px;
  border-bottom: 1px solid #e6e6e6;
  line-height: 40px;
  position: relative;
}
.city .city_host {
  font-size: 16px;
  width: 35px;
}
.more_movie {
  font-size: 15px;
  text-align: center;
  margin: 0 12px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  width: 220px;
}
.fangdajing {
  width: 20px;
  height: 20px;
  font-size: 27px;
}
select {
  /*清除select的边框样式 */
  border: none;
  /*清除select聚焦时候的边框颜色*/
  outline: none;
  /* 使元素看上去像标准的用户界面元素 */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.home {
  a {
    font-weight: bold;
    color: #2c3e50;
    &.router-link-exact-active {
      color: #42b983;
    }
  }
}
</style>


<template>
  <div class="home">
    <div class="headle">
      <div class="city">
        <select class="city_host">
          <option>广州</option>
          <option>深圳</option>
          <option>佛山</option>
        </select>
        <i class="iconfont icon-xialajiantou"></i>
      </div>
      <div class="more_movie">
        <router-link to="/Upcoming">正在热映</router-link>
        <router-link to="/Aa">即将上映</router-link>
      </div>
      <i class="iconfont icon-ai219 fangdajing" @click="toSearch"></i>
    </div>

        
    <!-- 路由渲染 -->
    <router-view/>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
  methods: {
    toSearch(res) {
      this.$router.push({
        path: "/Search",
        name: "Search"
      });
    }
  }
};
</script>


<style>
@import url(//at.alicdn.com/t/font_1259619_1pt9fihsk2e.css);
</style>
